package com.plian.system.wrapper.pm.listedcompany;

import com.plian.system.dto.pm.listedcompany.TenShareHoldersDTO;
import com.plian.system.entity.pm.listedcompany.TenShareHolders;
import com.plian.system.mybatis.support.BaseWrapper;
import com.plian.system.vo.pm.listedcompany.TenShareHoldersVO;
import com.plian.system.wrapper.util.CacheWrapperUtil;
import com.plian.system.wrapper.util.WrapperUtil;
import org.mapstruct.Mapper;

import static com.plian.system.wrapper.util.WrapperConstant.SPRING;

@Mapper(componentModel = SPRING, uses = {CacheWrapperUtil.class, WrapperUtil.class})
public interface TenShareHoldersWrapper extends BaseWrapper<TenShareHolders, TenShareHoldersDTO, TenShareHoldersVO> {

    @Override
   /* @Mappings(value = {
            @Mapping(source = "fundId", target = "fundName", qualifiedByName = FUND_ID_TO_NAME),
            @Mapping(source = "shareTypeId", target = "shareTypeName", qualifiedByName = SHARE_TYPE_ID_TO_NAME),
    })*/
    TenShareHoldersVO entityToVO(TenShareHolders entity);
}
